package com.jrx.anytxn.transaction.dto.payment;

import com.jrx.anytxn.transaction.bean.PaymentLoanInfoBean;
import com.jrx.anytxn.transaction.dto.common.CommonReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 主动还款准入校验请求实体
 * xuhui.gao
 * 2020/08/07
 */
@ApiModel(value = "主动还款准入校验请求实体", description = "主动还款准入校验请求实体")
public class PaymentAccessCheckReq extends CommonReq {
    /**
     * 订单信息
     */
    @ApiModelProperty(value = "订单信息" ,required = true)
    @NotNull
    @Size(max=32, message = "订单号不能超过32位")
    @Size(min=1)
    private List<PaymentLoanInfoBean> loanList;

    public List<PaymentLoanInfoBean> getLoanList() {
        return loanList;
    }

    public void setLoanList(List<PaymentLoanInfoBean> loanList) {
        this.loanList = loanList;
    }
}
